package com.ghy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ghy.entity.Ident;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface IdentMapper extends BaseMapper<Ident> {

    @Select( "update aut_ident set sys_type=#{sysType} where sys_type=#{frontType}")
    void updateSysType(@Param("frontType")String frontType,@Param("sysType")String sysType);
    @Select( "DELETE FROM aut_ident where sys_type=#{sysType}")
    void deleteType(@Param("sysType")String sysType);
}
